

def add(x,y,f):
    return f(x) + f(y)



print(add(3,1,abs))
res = add(3,-6,abs)
print(type(res))


def func(x,y):
    return  x+y
def calc(x)
    return x

f = calc(func())
print(f(2,6))